/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.threeCorePrinciples.Impl;

import za.ac.cput.threeCorePrinciples.Lizard;
import za.ac.cput.threeCorePrinciples.Reptile;

/**
 *
 * @author Oceanwave
 */
public class LizardImp implements Lizard
{
    
    Reptile lizard = new ReptileImp();
    
    @Override
    public void Hiss(String message, String tone, int baseScales, int ShedScales)
    {
        
        lizard.setAmtScales(baseScales);
        lizard.shedScales(ShedScales);
        System.out.println("The lizard has hissed and says in an " + tone + " tone: " + message);
    }

    @Override
    public int calcDoubleScales() 
    {
        return(lizard.getAmtScales());
    }
    
}
